﻿<%@ Page Title="供货商" Language="C#" MasterPageFile="~/List.Master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="BBPA.Admin.SYS.Supplier.List" %>

<%@ MasterType VirtualPath="/List.Master" %>
<asp:Content ID="Con_head" ContentPlaceHolderID="head" runat="server">
    <script>
        bodyWidth = 700;
    </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_th" runat="server">
    <th>供货商名称</th>
    <th>编号</th>
    <th>所在地</th>
    <th>负责人</th>
    <th id="th_Account" runat="server">账户金额</th>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_td" runat="server">
    <td data-row-title="<%#Eval("ShortName") %>" data-userid="<%#Eval("UserID") %>">
        <div class="intd"><%#Eval("ShortName") %>
        <%#DataTypePlus.requestInt( Eval("State"))!=(int)EnumHelper.UserState.Nomal?" <span class=\"text-warning\">"+EnumHelper.GetEnumDescription((EnumHelper.UserState)DataTypePlus.requestInt( Eval("State"))):"</span>" %>
            </div></td>
    <td><%#Eval("Number") %></td>
    <td><%#Eval("City") %></td>
    <td><%#Eval("Contacts") %></td>
    <td id="td_Account" runat="server"><%#StringPlus.showMoney( Eval("Account")) %></td>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_listControls" runat="server">
    <a href="###" href-list="/sys/account_change_log/list.aspx?SupplierID=<%#Eval("id") %>" title="<%#Eval("ShortName") %>账户金额管理" target="_blank">账户</a>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cph_formControls" runat="server">
    <a href="###" href-right="../goods/From_Bat_Supplier.aspx?SupplierID=<%#Eval("id") %>" title="选择属于<%#Eval("ShortName") %>的商品">选择商品</a>
    <a href="###" href-right="../goods/Form_Bat_Supplier_Price.aspx?SupplierID=<%#Eval("id") %>" title="批量修改<%#Eval("ShortName") %>商品的价格">批量改价</a>
</asp:Content>
<asp:Content ID="con_Bottom" ContentPlaceHolderID="cph_ControlsBottom" runat="server">
    <input type="button" value="发消息" class="btn button_bat"  onclick="NewMessage()"/>
    </asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cph_search" runat="server">
    <div class="control-group">
        <label>商家名称/编号/电话号码/负责人</label>
        <asp:TextBox ID="search_text_fuzzy" runat="server"></asp:TextBox>
    </div>
    <div class="control-group RadioButtonList">
        <label></label>
        <asp:RadioButtonList ID="search_radio_state" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
            <asp:ListItem Text="全部" Value="" Selected="True"></asp:ListItem>
            <asp:ListItem Text="已审核" Value="1"></asp:ListItem>
            <asp:ListItem Text="未审核" Value="2"></asp:ListItem>
        </asp:RadioButtonList>
    </div>
</asp:Content>
